package DB;

import Model.Teacher;

import java.util.ArrayList;

public interface TeacherDBIF  {

    //Insert teacher
    public int insertTeacher(Teacher teacher);

    //Find teacher
    public Teacher findTeacherByID (int id);

    //Find teacher by username, password
    public Teacher findTeacher (String userName, String password);

    //Find all teachers
    public ArrayList<Teacher> getAllTeachers(boolean retrieveAssociation);

    //Update teacher
    public int updateTeacher(Teacher teacher);

    //Delete teacher
    public int deleteTeacher(int id);
}
